﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace SynchronizedPlayer
{
	

	class MyMediaPlayer: MediaPlayer
	{
		public bool isPlaying { get; protected set; }
		public bool isPaused { get; protected set; }
		public bool isStarted { get; protected set; }

		public new void Play()
		{
			isStarted = true;
			isPlaying = true;
			isPaused = false;
			base.Play();
		}

		public new void Pause()
		{
			isPlaying = false;
			isPaused = true;
			base.Pause();
		}

		public new void Stop()
		{
			isStarted = false;
			base.Stop();
		}


	}
}
